	<!-- 所有选课信息 -->
	<div class="select_courses">
		<p class="can_selecte_courses_show">所有选修课程如下</p>
		<?php 
			$managerController = new ManagerController();
			$showAllCoursesInfo = $managerController->showAllCourses();
			?>
		<div class="table_show">
			<table class="can_select_courses_show_table">
				<tr>
					<th>课程编号</th><th>课程名</th><th>任课教师</th><th>当前人数</th><th>最大总人数</th><th>相关操作</th>
				</tr>
				<?php if(!empty($showAllCoursesInfo)){
					foreach ($showAllCoursesInfo as $row){
					?>
				<tr>
					<td><?php echo $row['course_id']?></td>
					<td><?php echo $row['course_name']?></td>
					<td><?php echo $row['course_teacher_name']?></td>
					<td><?php echo $row['course_student_count_current']?>
					<td><?php echo $row['course_student_count_max']?></td>
					<!-- 修改和删除课程 -->
					<td>
						<?php $path = "<a href="."./ManagerView.php?operation=delete&object=course&courseOrStudentId=".$row['course_id'].">删除</a>"?>
						<?php echo $path?>
						<!-- 如果是修改即保存该学生  -->	  
						<?php $path = "<a href="."./ManagerView.php?operation=revise&object=course&courseOrStudentId=".$row['course_id'].">修改</a>"?>
						<?php echo $path?>
					</td>
				</tr>
				<?php 
						}
					}else {
					?>
				<tr><td class="table_empty_show" colspan="6">暂无选修课程信息!</td></tr>
				<?php }?>
			</table>
		</div>
	</div>